<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@page contentType="text/html;charset=UTF-8"%>

<form:input path="id" type="hidden" />

<div class="form-group">
   <div class="col-lg-offset-2 col-lg-10 alert alert-danger" id="painelErro">
     <span><strong>Erro:</strong><span id="camposObrigatorios"></span> </span>
   </div>
 </div>
 <div class="form-group">
   <label for="inputCodigo" class="col-lg-2 control-label">Código</label>
   <div class="col-lg-1">
     <form:input type="text" class="form-control" id="inputCodigo" placeholder="Digite o código" path="codigo" />
   </div>
 </div>
 <div class="form-group">
   <label for="inputNome" class="col-lg-2 control-label">Nome</label>
   <div class="col-lg-6">
     <form:input type="text" class="form-control" id="inputNome" placeholder="Digite o nome" path="descricao" />
   </div>
 </div>
 <div class="form-group">
   <div class="col-lg-offset-2 col-lg-10">
      <a href="#" class="btn btn-success" id="btn-salvar">Salvar</a>
	  <a href="#" id="btn-cancelar" class="btn btn-danger">Cancelar</a>
   </div>
 </div>